package com.yh.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.yh.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限表 权限表
 * </p>
 *
 * @author yh
 * @since 2021-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysPermission extends BaseEntity<SysPermission> {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    private Long id;

    /**
     * 父id
     */
    private Long pid;

    /**
     * 权限名字
     */
    private String name;

    /**
     * 权限值
     */
    private String value;

    /**
     * icon
     */
    private String icon;

    /**
     * 类型(0->目录；1->菜单；2->按钮)
     */
    private String type;

    /**
     * 排序
     */
    private String sort;

    /**
     * 状态
     */
    private Integer status;

    /**
     *
     */
    private String component;
}
